package com.duomai.myapplication.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.duomai.myapplication.R;
import com.example.admin.SQLite.Complaint;
import com.example.admin.SQLite.YiJian;

public class ComplaintAdapter extends BaseQuickAdapter<YiJian, BaseViewHolder> {

    public ComplaintAdapter() {
        super(R.layout.item_user_complaint);
    }

    @Override
    protected void convert(BaseViewHolder helper, YiJian str) {
        helper.setText(R.id.tvTitle, str.yijianContent);
        helper.setText(R.id.tvStatu, str.yijianState);
    }

}